<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>
<script src="${path}/static/taoshunda/goods/noUpper.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="form-inline">
    <div class="input-group col-xs-2" style="float: left;margin-right: 6px;">
        <input type="text" class="form-control entry" placeholder="请输入商品名称" name="goodsName1"/>
    </div>
    <div class="input-group col-xs-2" style="float: left;margin-right: 6px;margin-left: 4px">
        <input type="text" class="form-control entry" placeholder="请输入商家名称" id="busName"/>
    </div>
    <button class="btn query_button" id="goodsSelect">
        <%--<span class="glyphicon glyphicon-search" aria-hidden="true"></span>--%>
        查询
    </button>
</div>


<table id="table"
       data-toggle="table"
       data-url="${path}/web/goods/noUpperList"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200]"
>
    <thead>
    <tr>
        <th data-field="name">商品名称</th>
        <th data-formatter="headPicFormatter">商品图片</th>
        <th data-field="bName">商家名称</th>
        <th data-field="price">售价</th>
        <th data-field="monthSales">销量</th>
        <%--<th data-field="isSpecial" data-formatter="isSpecialFormatter">是否特价商品</th>--%>
        <%--<th data-formatter="expirationTime">特价到期时间</th>--%>
        <th data-formatter="goodsFormatter" data-events="goodsEvent">操作</th>
    </tr>
    </thead>
</table>


<div id="show-div" class="slidingmenu box-model box box-info">
    <div class="box box-info">

        <div class="box-header">
            <h3 class="box-title">商品详细</h3>
        </div>

        <div class="box-body">

            <div class="form-group">
                <label>现价(元):</label>
                <input type="text" class="form-control" id="price" readonly style="width: 50%">
            </div>

            <%--<div class="form-group">--%>
            <%--<label>包装费用(元):</label>--%>
            <%--<input type="text" class="form-control" id="bagging" readonly>--%>
            <%--</div>--%>

            <%--<div class="form-group">--%>
            <%--<label>库存:</label>--%>
            <%--<input type="text" class="form-control" id="stock" readonly>--%>
            <%--</div>--%>

            <div class="form-group">
                <label>是否无理由退货(7天):</label>
                <input type="text" class="form-control" id="params" readonly style="width: 50%">
            </div>

            <div class="form-group">
                <label>商品图片：</label>
                <div id="showimages"></div>
            </div>

            <div class="form-group">
                <label>商品简介:</label>
                <textarea type="text" class="form-control" id="detail" readonly style="width: 50%"></textarea>
            </div>
            <div class="box-footer">
                <button class="btn btn-danger close-model">关闭</button>
            </div>
        </div>

        <!-- /.box-body -->
    </div>
</div>

<div id="detailImage-div" style="z-index:999"  class="slidingmenu box-model box box-info">
    <div class="box box-info">
        <div class="box-body">
            <div class="form-group">
                <div id="image" style="margin-top: 5%">

                </div>
            </div>
            <div class="box-footer">
                <button class="btn btn-danger close-model">关闭</button>
            </div>
        </div><!-- /.box-body -->
    </div>
</div>

